package com.liuhaha.subject.domain.convert;

import com.liuhaha.subject.domain.entity.SubjectAnswerBO;
import com.liuhaha.subject.infra.basic.entity.SubjectJudge;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author liuhaha
 * @version 1.0
 * @date 2024-05-15 00:09
 */
@Mapper
public interface JudgeSubjectConverter {

    JudgeSubjectConverter INSTANCE = Mappers.getMapper(JudgeSubjectConverter.class);

    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectJudge> subjectJudgeList);

}
